package com.example.quartz.common.base;

import lombok.Data;

/**
 * @description:
 * @author: wlp
 * @createDate: 2020-01-08
 * @version: 1.0
 */
@Data
public class ResponseResultBean {

    private int code;

    private String message;

    private Object data;

    private ResponseResultBean(int code, String message, Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }


    public static ResponseResultBean success() {
        return new ResponseResultBean(0, "成功！", null);
    }
}
